package com.zc.dao;

import com.zc.entity.Image;

import java.util.List;
import java.util.Map;

public interface ImageMapper {
    int deleteByPrimaryKey(int id);

    int insert(Image record);

    int insertSelective(Image record);

    Image selectByPrimaryKey(int id);

    int updateByPrimaryKeySelective(Image record);

    int updateByPrimaryKey(Image record);

    void save(Image img)throws  Exception;

    List<Image> findAll(Map<String, Object> params);
}